home *** CD-ROM | disk | FTP | other *** search
- on REDWAVE
- global GRIDV, GRIDH, GRIDY, TY, TH, NYC, DT, TURN, SOND, N
- set N to 0
- set TY to 0
- set TH to 0
- repeat while N = 0
- set NYC to random(125)
- if getAt(GRIDV, NYC) = 3 then
- set TY to getAt(GRIDY, NYC)
- set TH to getAt(GRIDH, NYC)
- set N to 1
- end if
- end repeat
- set DT to 2
- set the locH of sprite 29 to TH
- set the locV of sprite 29 to TY
- repeat with N = 1 to 8
- set the castNum of sprite 29 to 209
- updateStage()
- COUNTTIME()
- set the castNum of sprite 29 to 210
- updateStage()
- COUNTTIME()
- end repeat
- if TURN = 1 then
- set the castNum of sprite 29 to 4
- end if
- if TURN = 2 then
- set the castNum of sprite 29 to 70
- end if
- updateStage()
- REMOVESPRITE()
- end
-